package com.xcjw.com.Bean;

import com.google.gson.Gson;

/**
 * Created by 20906 on 2017/6/27.
 */
public class UserWebInfo {
    /**
     * openID : 0
     * nickName : string
     * avatarUrl : string
     */

    public String openID;
    public String nickName;
    public String avatarUrl;

    public String getOpenID() {
        return openID;
    }

    public void setOpenID(String openID) {
        this.openID = openID;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public static UserWebInfo objectFromData(String str) {

        return new Gson().fromJson(str, UserWebInfo.class);
    }
}
